/* body{
    display: flex;
  
    justify-content: center;
   
    align-items:center;
} */
body{
    background-image: url(2.jpg);
    background-size: 100% 100%
}
#ww{
    display: flex;
    align-items:center; 
    justify-content:center;
    margin: 0 auto;
    width: 300px;
    height: 50px;
    /* border: solid 1px red; */
    font-size:40px;
}
#ww:hover{
    color: rgba(143, 192, 79, 0.014);
}
#qq{
    width: 600px;
    height: 100px;
    /* border: solid 1px red; */
    display: flex;
    
    justify-content: center;

    align-items:center; 
    margin: 0 auto;
    box-shadow: 4px 4px 4px rgb(76, 58, 136);
    font-size:20px;
    font-weight: bold; 
}

#qq:hover{
    color: blue;
}







#ctrl{
    /* width: 600px;
    height: 600px; */
    /* border: solid 1px black; */
    display: flex;
    margin-top:100px; 
    justify-content: center;
    
    /* align-items:center;  */
}


a{
    /* color: silver; */
    text-decoration:none;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    text-align: right;
    font-size: 10px;
    /* text-shadow: 5px 5px 2px #ffffff; */
}

a:hover{
    color:gold;
}






#g-table{
    border:solid 1px red;
}

#g-table td{
    width: 30px;
    height: 30px;
    /* border: solid 1px red; */
    text-align: center;
    font-size: 22px;
    /* 字体加粗 */
    font-weight: bold;
    background-size: 100% 100%;
}

td[state=normal]{
    background-image: url(img/blank.png);
    
}
td[state=open]{
    background-color: #eeeeee;
}
td[state=explode]{
    background-image: url(img/boom_ex.png);
   
}

td[state=bomb]{
    background-image: url(img/boom_plain.png);
}
td[state=flag]{
    background-image: url(img/flag.png);
}


td[state='1']:before{
    content: "1";
    color: blue;
}
td[state='2']:before{
    content: "2";
    color: green;
}
td[state='3']:before{
    content: "3";
    color: thistle;
}
td[state='4']:before{
    content: "4";
    color: orange;
}
td[state='5']:before{
    content: "5";
    color: skyblue;
}
td[state='6']:before{
    content: "6";
    color: pink;
}
td[state='7']:before{
    content: "7";
    color: brown;
}
td[state='8']:before{
    content: "8";
    color: purple;
}
